//
//  WLLocalFileHandle.h
//  WanLian
//
//  Created by 123456 on 2019/1/7.
//  Copyright © 2019 wanlian. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface WLLocalFileHandle : NSObject

+ (instancetype)fileHandleForReadingAtPath:(NSURL *)loacalFileURL isReadyBlock:(void (^)(BOOL isReady))successBlock;

- (NSData *)readDataAtOffset:(long long)offset lentgth:(unsigned long)size;
- (void)closeFile;
@end

NS_ASSUME_NONNULL_END
